package util

import "errors"

// 定义一些错误类型
var (
	ZapNotFoundFileError          = errors.New("file not found") //
	MarshalError                  = errors.New("解析出错")
	UserNotAddedError             = errors.New("添加用户错误") //
	UserNotExistError             = errors.New("用户不存在")
	UserUpdateError               = errors.New("更新用户错误") //
	UserHasError                  = errors.New("用户已存在")
	UserDeleteError               = errors.New("用户删除错误")
	UserQueryError                = errors.New("用户获取失败")
	SeatAddError                  = errors.New("添加座位错误")
	SeatHasError                  = errors.New("座位已经存在")
	SeatNotFoundError             = errors.New("座位暂未找到")
	SeatSelectedError             = errors.New("座位已经被占")
	SeatDeletedError              = errors.New("座位删除错误")
	StudentHasSeatError           = errors.New("学生已有座位")
	StudentNotHasSeatError        = errors.New("学生暂无座位")
	StudentChangeSeatError        = errors.New("学生更换座位的错误")
	StudentDeleteSeatError        = errors.New("学生删除座位的错误")
	ClassroomDeleteSeatError      = errors.New("教室删除座位错误")
	ClassroomNotExistError        = errors.New("教室不存在")
	ClassroomExistedError         = errors.New("教室已存在")
	ClassroomNotAddedError        = errors.New("添加教室错误")
	ClassroomUpdateError          = errors.New("教室更新错误")
	ClassroomDeleteError          = errors.New("删除教室错误")
	ClassroomQueryError           = errors.New("查找教室错误")
	ClearTeacherRelationshipError = errors.New("清除教师与教室关系错误")
)
